package com.pig4cloud.pig.admin.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@TableName("web_index")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "网页导航")
public class WebIndexEntity extends Model<WebIndexEntity> {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	private Integer id;

	@ApiModelProperty(value = "网站名字")
	@TableField("web_name")
	private String webName;

	@ApiModelProperty(value = "网站url")
	@TableField("web_url")
	private String webUrl;

	@ApiModelProperty(value = "创建时间")
	@TableField("create_date")
	private Date createDate;

	@ApiModelProperty(value = "创建人名")
	@TableField("create_name")
	private String createName;

}
